//
#import <Foundation/Foundation.h>

@class BKSignatures;
@class BKType;

@interface BKObject : NSObject
{
	NSString* _name;
	BKSignatures* _sigs;
}

- (id) initWithName: (NSString*) name signatures: (BKSignatures*) sigs;
- (id) initWithXMLElement: (NSXMLElement*) elem signatures: (BKSignatures*) sigs;

@property (nonatomic, copy) NSString* name;
@property (assign) BKSignatures* signatures;

@end


@interface BKTypedObject : BKObject
{
	NSString* _typeString;
	BKType* _type;
}

- (id) initWithXMLElement: (NSXMLElement*) elem signatures: (BKSignatures*) sigs;

@property (nonatomic, copy) NSString* typeString;
@property (nonatomic, readonly) BKType* type;

@end
